package com.woniuxy.service.impl;

import com.woniuxy.domain.Project;
import com.woniuxy.mapper.ProjectMapper;
import com.woniuxy.service.ProjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author XXX
 * @since 2021-05-12
 */
@Service
public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> implements ProjectService {
    @Resource
    private ProjectMapper projectMapper;
    @Override
    public Project selectProjectById(int id) {
        Project project = projectMapper.selectProjectById(id);
        return project;
    }
}
